# Contributor: Magnus Sandin <magnus.sandin@gmail.com>
# Maintainer: Magnus Sandin <magnus.sandin@gmail.com>
pkgname=py3-pltable
pkgver=1.1.0
pkgrel=0
pkgdesc="A Python library designed to make it quick and easy to represent tabular data in visually appealing text tables"
url="https://github.com/platomav/PLTable"
arch="noarch"
options="!check" # No upstream checks available
depends="python3"
license="BSD-3-Clause"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/53/b9/0276a2c7699255c9a8e459b093db4414162607dcf42636c0bbe4be1bf8e4/PLTable-$pkgver.tar.gz"
builddir="$srcdir/PLTable-$pkgver"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	gpep517 install-wheel \
		--destdir "$pkgdir" \
		.dist/*.whl
}

sha512sums="
91ccf00c2bb80a6f0d3b866242a539cdc6374dec7d8f89671c32dba05fefea893dc253cf9d91ca58f6e3fb348b04b1c7da83d1fc0d770e9f44c2f86a8a4b0420  PLTable-1.1.0.tar.gz
"
